Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLLinkElement

Extends HTMLElement. Implements LinkStyle.

The link element allows authors to link their document to other resources.

Properties
DOMString
crossOrigin
The crossOrigin IDL attribute must reflect the crossorigin content attribute, limited to only known values.
DOMString
href
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.
DOMString
hreflang
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.
DOMString
media
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.
DOMString
rel
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.
DOMTokenList
relList
The IDL attribute relList must reflect the rel content attribute.
StyleSheet?
sheet
The sheet attribute must return the associated CSS style sheet for the node or null if there is no associated CSS style sheet.
DOMSettableTokenList
sizes
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.
DOMString
type
The IDL attributes href, rel, media, hreflang, type, and sizes each must reflect the respective content attributes of the same name.